package com.bjfu.gmms.pojo;
import java.math.BigDecimal;

public class ExamScores {
    private int studentId;//考生ID
    private int examId;//考试科目ID
    private double score;//考试成绩

    // Getters and Setters
    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public int getExamId() {
        return examId;
    }

    public void setExamId(int examId) {
        this.examId = examId;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    // toString 方法
    @Override
    public String toString() {
        return "ExamScores{" +
                "studentId=" + studentId +
                ", examId=" + examId +
                ", score=" + score +
                '}';
    }
}

